import React, { Component } from 'react';
import { NavBar } from 'antd-mobile'
import { Link} from 'react-router-dom'
import './HomeNavBar.less'

class HomeNavBar extends Component {
    constructor(props) {
        super(props)
        this.state = {

        }
    }
    render() {
        return (
            <div style={{ height: '45px' }}>
                <NavBar
                    mode='light'
                    leftContent={[
                        <span key={'1'} className='homeTitle'>{this.props.leftTitle}</span>
                    ]}
                    // rightContent={<Link to="/applies">{<span style={{color:"#fff"}}>审批</span>}</Link>}
                ></NavBar>
            </div>
        );
    }
}
export default HomeNavBar;